﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPages/MiembroRegular.Master"
 CodeBehind="CambiarContrasena.aspx.cs" Inherits="Interfaces.Miembro.CambiarContrasena" %>
 <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

 <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
     </asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:MultiView ID="MultiView1" runat="server">
        <asp:View ID="View1" runat="server">

        <asp:UpdatePanel runat="server" id="UpdatePanel1" updatemode="Conditional">

                    <Triggers>
                        <asp:AsyncPostBackTrigger controlid="Button1" eventname="Click" />
                    </Triggers>
                    <ContentTemplate>

            <asp:Panel ID="Panel1" runat="server" GroupingText="Cambiar contraseña" 
                style="text-align: left" Width="732px">
                Miembro: <asp:Label ID="Label1" runat="server" Text="Label" 
                    Font-Names="Comic Sans MS"></asp:Label>
                <br />
                Cargo que ocupa:<asp:Label ID="Label2" runat="server" Text="Label" 
                    Font-Names="Comic Sans MS"></asp:Label>
                <br />
                Estado actual:<asp:Label ID="Label3" runat="server" Text="Label" 
                    Font-Names="Comic Sans MS"></asp:Label>
                <br />
                <br />
                Introduzca la antigua contraseña
                <br />
                <asp:TextBox ID="TextBox3" runat="server" Height="26px" Width="210px" 
                    MaxLength="40" TextMode="Password"></asp:TextBox>
                    <br />
                    <br />
                Introduzca la nueva contraseña
                <br />
                <asp:TextBox ID="TextBox1" runat="server" Height="26px" Width="210px" 
                    MaxLength="40" TextMode="Password"></asp:TextBox>
                <ajaxToolkit:PasswordStrength ID="TextBox1_PasswordStrength" runat="server" 
                    CalculationWeightings="50;15;15;20" Enabled="True" 
                    PrefixText="Grado de dificultad:" TargetControlID="TextBox1" 
                    TextStrengthDescriptions="Bajo;Medio;Alto">
                </ajaxToolkit:PasswordStrength>
                <br />
                Repetir la contraseña<br />&nbsp;<asp:TextBox ID="TextBox2" runat="server" 
                    Height="26px" MaxLength="40" TextMode="Password" Width="210px"></asp:TextBox>
                <ajaxToolkit:PasswordStrength ID="TextBox2_PasswordStrength" runat="server" 
                    CalculationWeightings="50;15;15;20" Enabled="True" 
                    PrefixText="Grado de dificultad:" TargetControlID="TextBox2" 
                    TextStrengthDescriptions="Bajo;Medio;Alto">
                </ajaxToolkit:PasswordStrength>
                &nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp; &nbsp;
                <br />
                <asp:Button ID="Button1" runat="server" Text="GUARDAR CAMBIOS" Height="32px" 
                    onclick="Button1_Click" CssClass=JCIstyle />
                <br />
                <br />
                <asp:Label ID="Label4" runat="server" Text="Label" 
                    Visible="False"></asp:Label>
            </asp:Panel>
                </ContentTemplate>
             </asp:UpdatePanel>

        </asp:View>
        <asp:View ID="View2" runat="server">
        </asp:View>
    </asp:MultiView>
    
</asp:Content>